import React,{Component} from "react"
import RefDemo from "./components/RefDemo"
import ControlComponent from "./components/UncontrolComponent"
import UncontrolComponent from "./components/ControlComponent"
import OldLive from "./components/OldLive"
export default class App extends Component {
  render() {
    return (
      <>
        <h1>hello React</h1>
        <button onClick={() => this.forceUpdate()}>强制更新</button>
        <RefDemo/>
        <ControlComponent/>
        <UncontrolComponent/>
        <OldLive/>
      </>
    )
  }
}